//
// Created by bxw57 on 2024/4/21.
//

#ifndef CPPPRACTICE_TEACHER_H
#define CPPPRACTICE_TEACHER_H
#include "Person.h"

class Teacher : public Person{
private:
    int work;
public:
    Teacher():Person(), work(fuDaoYuan){}
    Teacher(string name, int age, int work): Person(name, age), work(work){}
    void introduce() override;
};


#endif //CPPPRACTICE_TEACHER_H
